package com.test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

//启动类 会自动扫描当前包(同级)以及子包下所有内容
//@ComponentScan("com")扫描路径下所有
@SpringBootApplication

public class springboot {
    public static void main(String[] args) {
        SpringApplication.run(springboot.class,args);
    }
}
